/**
 * 广寒宫
 * 网址:www.guanghangong.xyz
 */
package com.moon.admin.flowable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.moon.admin.framework.mybatisplus.entity.Entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 用户绑定流程模型关系表
 * @author ninglong
 * @date 2020年2月11日
 */
@Getter
@Setter
@TableName("flow_model_user")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FlowModelUserEntity extends Entity{

	@TableField(exist=false)
	private static final long serialVersionUID = -7316265098351546437L;
	
	@TableId(type=IdType.AUTO)
	private Integer id;
	
	/** 用户ID */
	private Integer userId;
	
	/** 流程定义key */
	private String modelKey;
	
	/**
	 * 流程类型id
	 */
	private String flowTypeId;
}